package com.ying.controller.errors;

import java.io.Serializable;


public class AppExceptionData implements Serializable {

    private int errorCode;
    private String message;

    public AppExceptionData(int errorCode, String msg) {
        this.errorCode = errorCode;
        this.message = msg;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
